<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>3dchess: S:/dev/3dchess/src/gui/ChessSet.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">3dchess
   </div>
   <div id="projectbrief">Basic chess application with OpenGL graphics and AI</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_99d0482cf009f9d97a0877749b817f19.html">gui</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ChessSet.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">    Copyright (c) 2013-2014, Patrick Hillert &lt;silent@gmx.biz&gt;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">    All rights reserved.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">    Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">    modification, are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    1. Redistributions of source code must retain the above copyright notice,</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">    this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">    2. Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">    notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">    documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">    3. Neither the name of the copyright holder nor the names of its</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">    contributors may be used to endorse or promote products derived from</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">    this software without specific prior written permission.</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"></span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment">    ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="comment">    LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR</span></div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="comment">    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="comment">    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="comment">    INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN</span></div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="comment">    CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="comment">    ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE</span></div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="comment">    POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#ifndef CHESSSET_H</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define CHESSSET_H</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="preprocessor">#include &lt;boost/signals2.hpp&gt;</span></div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &lt;array&gt;</span></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &quot;gui/AssimpHelper.h&quot;</span></div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="preprocessor">#include &quot;gui/AnimationHelper.h&quot;</span></div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &quot;gui/Model.h&quot;</span></div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="preprocessor">#include &quot;logic/ChessTypes.h&quot;</span></div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &quot;logic/Turn.h&quot;</span></div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="preprocessor">#ifdef _WIN32</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#include &lt;windows.h&gt;</span> <span class="comment">// Needed for gl.h</span></div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;GL/gl.h&gt;</span></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_chess_set.html">   55</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_chess_set.html">ChessSet</a> {</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;    <a class="code" href="class_chess_set.html#a5d04af40b68e900243871baf71f77f27">ChessSet</a>();</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    ~<a class="code" href="class_chess_set.html">ChessSet</a>();</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a163c62da1c890672b3577c9f4f3a667c">setState</a>(std::array&lt;Piece, 64&gt; state, PlayerColor lastPlayer, <a class="code" href="class_turn.html">Turn</a> lastTurn);</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_chess_set.html#a95069b2fabc31ca076a9f9f8219a6b97">   74</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_chess_set.html#a95069b2fabc31ca076a9f9f8219a6b97">TileStyle</a> {</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        NORMAL,</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        CURSOR,</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        MOVE,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        CASTLE</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;    };</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a1dfa063aaac2bd529439064ea1ba5234">drawActionTileAt</a>(Field which, <a class="code" href="class_chess_set.html#a95069b2fabc31ca076a9f9f8219a6b97">TileStyle</a> style);</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_chess_set.html#a34038529052aefb5b16813c08d36f1b9">getResourcesCount</a>();</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a2db9af60abb7fafec22765b94a185cea">registerLoadCallback</a>(<span class="keyword">const</span> boost::function&lt;<span class="keywordtype">void</span>(std::string)&gt;&amp; callback);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a962966af3fdca97595dc5ac4c2aedb84">loadResources</a>();</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a6d0fcb6376e3e0f322e2974a343bf1a8">draw</a>();</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="class_chess_set.html#a6c937febce48baf4a9d1163d2b96149f">  118</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_chess_set.html#a6c937febce48baf4a9d1163d2b96149f">m_tileWidth</a>, m_tileHeight;</div>
<div class="line"><a name="l00120"></a><span class="lineno"><a class="line" href="class_chess_set.html#abc68d3a50396f6656ccd26705a0953a8">  120</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_chess_set.html#abc68d3a50396f6656ccd26705a0953a8">m_turnMoveShowDuration</a>;</div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="class_chess_set.html#ac13803ccacb848d246caeb6bd09d856a">  122</a></span>&#160;    <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="class_chess_set.html#ac13803ccacb848d246caeb6bd09d856a">m_turnMoveShownSince</a>;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="class_chess_set.html#a19081a283e108cf308fb52ee4d45b837">  125</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_chess_set.html#a19081a283e108cf308fb52ee4d45b837">InternalState</a> {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        ANIMATING,</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        STATIC</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;    } m_internalState;</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_chess_set.html#a31741f86db19210c051fea1e9724c007">  131</a></span>&#160;    <span class="keywordtype">float</span> <a class="code" href="class_chess_set.html#a31741f86db19210c051fea1e9724c007">m_animationElevationHeight</a>, m_animationElevationStrikeHeight;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00134"></a><span class="lineno"><a class="line" href="class_chess_set.html#a59f0ea31695088df31448c615b09638f">  134</a></span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="class_chess_set.html#a59f0ea31695088df31448c615b09638f">m_firstRun</a>;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="struct_chess_set_1_1_coord3_d.html">  137</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> {</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;        <span class="keywordtype">float</span> x;</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;        <span class="keywordtype">float</span> y;</div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;        <span class="keywordtype">float</span> z;</div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;    };</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;</div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_chess_set.html#a9a7deeb288121b5197b461419d396a7a">  144</a></span>&#160;    std::array&lt;ModelPtr, 6&gt; <a class="code" href="class_chess_set.html#a9a7deeb288121b5197b461419d396a7a">m_models</a>;</div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="class_chess_set.html#a19beee3dc088393bf189d22d06755435">  146</a></span>&#160;    std::vector&lt;std::string&gt; <a class="code" href="class_chess_set.html#a19beee3dc088393bf189d22d06755435">m_extResources</a>;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno"><a class="line" href="struct_chess_set_1_1_correction_value.html">  149</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_chess_set_1_1_correction_value.html">CorrectionValue</a> {</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;        <span class="keywordtype">int</span> x, y, z;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        <span class="keywordtype">float</span> scale;</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;        <span class="keywordtype">int</span> rotX, rotY, rotZ;</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    };</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_chess_set.html#aa134bf25d1aee3f0e44aa2d9a347371e">  156</a></span>&#160;    std::array&lt;CorrectionValue, 6&gt; <a class="code" href="class_chess_set.html#aa134bf25d1aee3f0e44aa2d9a347371e">m_extCorrectionValues</a>;</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;</div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="line" href="class_chess_set.html#a417bacad74a5d8f6c852b30c4fed8566">  159</a></span>&#160;    GLuint <a class="code" href="class_chess_set.html#a417bacad74a5d8f6c852b30c4fed8566">m_boardList</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"><a class="line" href="class_chess_set.html#a4c00bdbc75354c141caa628cc722d644">  162</a></span>&#160;    GLuint <a class="code" href="class_chess_set.html#a4c00bdbc75354c141caa628cc722d644">m_modelList</a>[12];</div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="line" href="class_chess_set.html#a72c30931c8d2cc471d7cc4059e9859d0">  165</a></span>&#160;    GLuint <a class="code" href="class_chess_set.html#a72c30931c8d2cc471d7cc4059e9859d0">m_modelsList</a>;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="class_chess_set.html#a51fb67f0a0e078cc6c2a3e97354224ea">  168</a></span>&#160;    std::array&lt;Piece, 64&gt; <a class="code" href="class_chess_set.html#a51fb67f0a0e078cc6c2a3e97354224ea">m_state</a>, m_lastState;</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="struct_chess_set_1_1_animation_capsule.html">  171</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_chess_set_1_1_animation_capsule.html">AnimationCapsule</a> {</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;        <a class="code" href="struct_piece.html">Piece</a> piece;</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;        Field field;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;        <a class="code" href="class_turn.html">Turn</a> turn;</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    };</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;</div>
<div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="class_chess_set.html#a4dd58c5f99b21d1cb87954fd8496540c">  178</a></span>&#160;    std::vector&lt;AnimationCapsule&gt; <a class="code" href="class_chess_set.html#a4dd58c5f99b21d1cb87954fd8496540c">m_animationCapsules</a>;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="class_chess_set.html#a08c298e5f3b4b3e4388d62f015abe391">  181</a></span>&#160;    AnimationHelperPtr <a class="code" href="class_chess_set.html#a08c298e5f3b4b3e4388d62f015abe391">m_animationHelperModelX</a>, m_animationHelperModelY, m_animationHelperModelZ, m_animationHelperModelStrike;</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00184"></a><span class="lineno"><a class="line" href="class_chess_set.html#a7b26c2f2145a62d34b1bf7b55fddeef0">  184</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_chess_set.html#a7b26c2f2145a62d34b1bf7b55fddeef0">Elevation</a> {</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;        UP,</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;        DOWN</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;    } m_animationDirectionY;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;</div>
<div class="line"><a name="l00190"></a><span class="lineno"><a class="line" href="struct_chess_set_1_1_striked_model.html">  190</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="struct_chess_set_1_1_striked_model.html">StrikedModel</a> {</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;        <a class="code" href="struct_piece.html">Piece</a> piece;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        Field field;</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;    };</div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;</div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="class_chess_set.html#a1b25643381af1d8b29665924578106ef">  196</a></span>&#160;    std::vector&lt;StrikedModel&gt; <a class="code" href="class_chess_set.html#a1b25643381af1d8b29665924578106ef">m_modelStrikes</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;</div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="class_chess_set.html#af32b306329c66eb9a2b67b4f2cf136c3">  199</a></span>&#160;    <a class="code" href="class_turn.html">Turn</a> <a class="code" href="class_chess_set.html#af32b306329c66eb9a2b67b4f2cf136c3">m_lastTurn</a>;</div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="class_chess_set.html#a008bda5386fae4f30fc3c7cab1d7a4d3">  201</a></span>&#160;    PlayerColor <a class="code" href="class_chess_set.html#a008bda5386fae4f30fc3c7cab1d7a4d3">m_lastPlayer</a>;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a12663ad860075c0e0aba59c884305908">createChessBoardList</a>();</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a7710de605153f7e61f490a5084ad1eb5">createModelsList</a>(<span class="keywordtype">bool</span> withoutTurnDependentModels);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a3678b5d808ae23458874d6fd5792002c">drawModelAt</a>(Field field, PieceType type, PlayerColor color);</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a3678b5d808ae23458874d6fd5792002c">drawModelAt</a>(<a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> coords, PieceType type, PlayerColor color);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#ae2a6cb36b2d31c95a16c9d634671c373">animateModelTurn</a>();</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a2026825ed8c4c73dd0cafcd0e281828c">drawModels</a>();</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a7e90d6ca51c352b3fe7c265f8d75c476">drawBoard</a>();</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a55cbf93d8f4e75684e5773de46ae3536">drawTile</a>(<a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> coords, <span class="keywordtype">bool</span> odd, <a class="code" href="class_chess_set.html#a95069b2fabc31ca076a9f9f8219a6b97">TileStyle</a> style);</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;    <a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> <a class="code" href="class_chess_set.html#a211f65394e911fd49231431d9da79e5b">calcCoordinatesForTileAt</a>(Field which);</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#a63c9a1d9800658df7b04bd6ed2f4d6e1">animateModelStrike</a>(<a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> coords, <a class="code" href="struct_piece.html">Piece</a> piece);</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_chess_set.html#ae2a6cb36b2d31c95a16c9d634671c373">animateModelTurn</a>(<a class="code" href="struct_chess_set_1_1_coord3_d.html">Coord3D</a> coords, <a class="code" href="struct_chess_set_1_1_animation_capsule.html">AnimationCapsule</a> animCapsule);</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;</div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="class_chess_set.html#a1f34bdfd9ebb891aca3c9bab8674e9cd">  282</a></span>&#160;    <span class="keyword">using</span> <a class="code" href="class_chess_set.html#a1f34bdfd9ebb891aca3c9bab8674e9cd">Signal</a> = boost::signals2::signal&lt;void(std::string)&gt;;</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;    <a class="code" href="class_chess_set.html#a1f34bdfd9ebb891aca3c9bab8674e9cd">Signal</a> m_loadCallback;</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;};</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="keyword">using</span> ChessSetPtr = std::shared_ptr&lt;ChessSet&gt;;</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="preprocessor">#endif // CHESSSET_H</span></div>
<div class="ttc" id="class_chess_set_html_a2db9af60abb7fafec22765b94a185cea"><div class="ttname"><a href="class_chess_set.html#a2db9af60abb7fafec22765b94a185cea">ChessSet::registerLoadCallback</a></div><div class="ttdeci">void registerLoadCallback(const boost::function&lt; void(std::string)&gt; &amp;callback)</div><div class="ttdoc">Registers a function as callback. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:130</div></div>
<div class="ttc" id="class_chess_set_html_aa134bf25d1aee3f0e44aa2d9a347371e"><div class="ttname"><a href="class_chess_set.html#aa134bf25d1aee3f0e44aa2d9a347371e">ChessSet::m_extCorrectionValues</a></div><div class="ttdeci">std::array&lt; CorrectionValue, 6 &gt; m_extCorrectionValues</div><div class="ttdoc">Simple array with correction values for each 3D model. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:156</div></div>
<div class="ttc" id="class_chess_set_html_a95069b2fabc31ca076a9f9f8219a6b97"><div class="ttname"><a href="class_chess_set.html#a95069b2fabc31ca076a9f9f8219a6b97">ChessSet::TileStyle</a></div><div class="ttdeci">TileStyle</div><div class="ttdoc">The style type for a tile. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:74</div></div>
<div class="ttc" id="class_chess_set_html_a4c00bdbc75354c141caa628cc722d644"><div class="ttname"><a href="class_chess_set.html#a4c00bdbc75354c141caa628cc722d644">ChessSet::m_modelList</a></div><div class="ttdeci">GLuint m_modelList[12]</div><div class="ttdoc">OpenGL display lists indexes to the 3D models representation for black and white color. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:162</div></div>
<div class="ttc" id="class_chess_set_html_a7e90d6ca51c352b3fe7c265f8d75c476"><div class="ttname"><a href="class_chess_set.html#a7e90d6ca51c352b3fe7c265f8d75c476">ChessSet::drawBoard</a></div><div class="ttdeci">void drawBoard()</div><div class="ttdoc">Draws the board via the OpenGL display list. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:210</div></div>
<div class="ttc" id="struct_chess_set_1_1_animation_capsule_html"><div class="ttname"><a href="struct_chess_set_1_1_animation_capsule.html">ChessSet::AnimationCapsule</a></div><div class="ttdoc">Struct for turn animation. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:171</div></div>
<div class="ttc" id="class_chess_set_html_a55cbf93d8f4e75684e5773de46ae3536"><div class="ttname"><a href="class_chess_set.html#a55cbf93d8f4e75684e5773de46ae3536">ChessSet::drawTile</a></div><div class="ttdeci">void drawTile(Coord3D coords, bool odd, TileStyle style)</div><div class="ttdoc">Draws a tile at the given coordinates. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:413</div></div>
<div class="ttc" id="class_chess_set_html_a12663ad860075c0e0aba59c884305908"><div class="ttname"><a href="class_chess_set.html#a12663ad860075c0e0aba59c884305908">ChessSet::createChessBoardList</a></div><div class="ttdeci">void createChessBoardList()</div><div class="ttdoc">Creates a new chess board as OpenGL display list. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:388</div></div>
<div class="ttc" id="class_chess_set_html_a6c937febce48baf4a9d1163d2b96149f"><div class="ttname"><a href="class_chess_set.html#a6c937febce48baf4a9d1163d2b96149f">ChessSet::m_tileWidth</a></div><div class="ttdeci">int m_tileWidth</div><div class="ttdoc">The proportions of the tiles. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:118</div></div>
<div class="ttc" id="class_chess_set_html_a3678b5d808ae23458874d6fd5792002c"><div class="ttname"><a href="class_chess_set.html#a3678b5d808ae23458874d6fd5792002c">ChessSet::drawModelAt</a></div><div class="ttdeci">void drawModelAt(Field field, PieceType type, PlayerColor color)</div><div class="ttdoc">Draws a precompiled OpenGL display list model at the given field. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:288</div></div>
<div class="ttc" id="class_chess_set_html_a163c62da1c890672b3577c9f4f3a667c"><div class="ttname"><a href="class_chess_set.html#a163c62da1c890672b3577c9f4f3a667c">ChessSet::setState</a></div><div class="ttdeci">void setState(std::array&lt; Piece, 64 &gt; state, PlayerColor lastPlayer, Turn lastTurn)</div><div class="ttdoc">Sets the new chess state. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:134</div></div>
<div class="ttc" id="class_chess_set_html_a63c9a1d9800658df7b04bd6ed2f4d6e1"><div class="ttname"><a href="class_chess_set.html#a63c9a1d9800658df7b04bd6ed2f4d6e1">ChessSet::animateModelStrike</a></div><div class="ttdeci">void animateModelStrike(Coord3D coords, Piece piece)</div><div class="ttdoc">Animates the model strike/bash at the given coordinates. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:320</div></div>
<div class="ttc" id="struct_chess_set_1_1_coord3_d_html"><div class="ttname"><a href="struct_chess_set_1_1_coord3_d.html">ChessSet::Coord3D</a></div><div class="ttdoc">Simple 3D Coord container. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:137</div></div>
<div class="ttc" id="class_chess_set_html_a417bacad74a5d8f6c852b30c4fed8566"><div class="ttname"><a href="class_chess_set.html#a417bacad74a5d8f6c852b30c4fed8566">ChessSet::m_boardList</a></div><div class="ttdeci">GLuint m_boardList</div><div class="ttdoc">OpenGL display list index to the 3D board representation. 8x8 fields. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:159</div></div>
<div class="ttc" id="class_chess_set_html_a1dfa063aaac2bd529439064ea1ba5234"><div class="ttname"><a href="class_chess_set.html#a1dfa063aaac2bd529439064ea1ba5234">ChessSet::drawActionTileAt</a></div><div class="ttdeci">void drawActionTileAt(Field which, TileStyle style)</div><div class="ttdoc">Draws an action tile at a given field with a given style. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:248</div></div>
<div class="ttc" id="class_chess_set_html_a9a7deeb288121b5197b461419d396a7a"><div class="ttname"><a href="class_chess_set.html#a9a7deeb288121b5197b461419d396a7a">ChessSet::m_models</a></div><div class="ttdeci">std::array&lt; ModelPtr, 6 &gt; m_models</div><div class="ttdoc">Simple (smart pointer) model array which holds the references to the six model types. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:144</div></div>
<div class="ttc" id="class_chess_set_html_af32b306329c66eb9a2b67b4f2cf136c3"><div class="ttname"><a href="class_chess_set.html#af32b306329c66eb9a2b67b4f2cf136c3">ChessSet::m_lastTurn</a></div><div class="ttdeci">Turn m_lastTurn</div><div class="ttdoc">Last player turn. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:199</div></div>
<div class="ttc" id="class_chess_set_html_a2026825ed8c4c73dd0cafcd0e281828c"><div class="ttname"><a href="class_chess_set.html#a2026825ed8c4c73dd0cafcd0e281828c">ChessSet::drawModels</a></div><div class="ttdeci">void drawModels()</div><div class="ttdoc">Draws the models via the OpenGL display list and checks if turn animations are needed. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:190</div></div>
<div class="ttc" id="class_chess_set_html_a51fb67f0a0e078cc6c2a3e97354224ea"><div class="ttname"><a href="class_chess_set.html#a51fb67f0a0e078cc6c2a3e97354224ea">ChessSet::m_state</a></div><div class="ttdeci">std::array&lt; Piece, 64 &gt; m_state</div><div class="ttdoc">Whole chess state. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:168</div></div>
<div class="ttc" id="class_chess_set_html_a19beee3dc088393bf189d22d06755435"><div class="ttname"><a href="class_chess_set.html#a19beee3dc088393bf189d22d06755435">ChessSet::m_extResources</a></div><div class="ttdeci">std::vector&lt; std::string &gt; m_extResources</div><div class="ttdoc">Vector which hold the resources for all external resources (3D models). </div><div class="ttdef"><b>Definition:</b> ChessSet.h:146</div></div>
<div class="ttc" id="class_turn_html"><div class="ttname"><a href="class_turn.html">Turn</a></div><div class="ttdoc">Represents a chess turn. </div><div class="ttdef"><b>Definition:</b> Turn.h:40</div></div>
<div class="ttc" id="struct_piece_html"><div class="ttname"><a href="struct_piece.html">Piece</a></div><div class="ttdef"><b>Definition:</b> ChessTypes.h:141</div></div>
<div class="ttc" id="class_chess_set_html"><div class="ttname"><a href="class_chess_set.html">ChessSet</a></div><div class="ttdoc">The ChessSet holds all the figures together with the board needed for the chess game. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:55</div></div>
<div class="ttc" id="class_chess_set_html_a34038529052aefb5b16813c08d36f1b9"><div class="ttname"><a href="class_chess_set.html#a34038529052aefb5b16813c08d36f1b9">ChessSet::getResourcesCount</a></div><div class="ttdeci">int getResourcesCount()</div><div class="ttdoc">Returns the number of big resources which must be loaded for initializing the ChessSet. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:81</div></div>
<div class="ttc" id="class_chess_set_html_a211f65394e911fd49231431d9da79e5b"><div class="ttname"><a href="class_chess_set.html#a211f65394e911fd49231431d9da79e5b">ChessSet::calcCoordinatesForTileAt</a></div><div class="ttdeci">Coord3D calcCoordinatesForTileAt(Field which)</div><div class="ttdoc">Calculates the coordinates for a given field. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:235</div></div>
<div class="ttc" id="class_chess_set_html_a1f34bdfd9ebb891aca3c9bab8674e9cd"><div class="ttname"><a href="class_chess_set.html#a1f34bdfd9ebb891aca3c9bab8674e9cd">ChessSet::Signal</a></div><div class="ttdeci">boost::signals2::signal&lt; void(std::string)&gt; Signal</div><div class="ttdoc">boost::signals2 callback Signal to call when a resource will be loaded. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:282</div></div>
<div class="ttc" id="class_chess_set_html_a1b25643381af1d8b29665924578106ef"><div class="ttname"><a href="class_chess_set.html#a1b25643381af1d8b29665924578106ef">ChessSet::m_modelStrikes</a></div><div class="ttdeci">std::vector&lt; StrikedModel &gt; m_modelStrikes</div><div class="ttdoc">Striked model container. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:196</div></div>
<div class="ttc" id="class_chess_set_html_a008bda5386fae4f30fc3c7cab1d7a4d3"><div class="ttname"><a href="class_chess_set.html#a008bda5386fae4f30fc3c7cab1d7a4d3">ChessSet::m_lastPlayer</a></div><div class="ttdeci">PlayerColor m_lastPlayer</div><div class="ttdoc">Last player color. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:201</div></div>
<div class="ttc" id="class_chess_set_html_ac13803ccacb848d246caeb6bd09d856a"><div class="ttname"><a href="class_chess_set.html#ac13803ccacb848d246caeb6bd09d856a">ChessSet::m_turnMoveShownSince</a></div><div class="ttdeci">unsigned int m_turnMoveShownSince</div><div class="ttdoc">The timestamp of when the animation was started. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:122</div></div>
<div class="ttc" id="class_chess_set_html_a5d04af40b68e900243871baf71f77f27"><div class="ttname"><a href="class_chess_set.html#a5d04af40b68e900243871baf71f77f27">ChessSet::ChessSet</a></div><div class="ttdeci">ChessSet()</div><div class="ttdoc">Creates a new chess set. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:42</div></div>
<div class="ttc" id="class_chess_set_html_a08c298e5f3b4b3e4388d62f015abe391"><div class="ttname"><a href="class_chess_set.html#a08c298e5f3b4b3e4388d62f015abe391">ChessSet::m_animationHelperModelX</a></div><div class="ttdeci">AnimationHelperPtr m_animationHelperModelX</div><div class="ttdoc">Animation helper objects. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:181</div></div>
<div class="ttc" id="struct_chess_set_1_1_striked_model_html"><div class="ttname"><a href="struct_chess_set_1_1_striked_model.html">ChessSet::StrikedModel</a></div><div class="ttdoc">Striked model for animation. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:190</div></div>
<div class="ttc" id="class_chess_set_html_abc68d3a50396f6656ccd26705a0953a8"><div class="ttname"><a href="class_chess_set.html#abc68d3a50396f6656ccd26705a0953a8">ChessSet::m_turnMoveShowDuration</a></div><div class="ttdeci">unsigned int m_turnMoveShowDuration</div><div class="ttdoc">The duration for the animation of a turn. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:120</div></div>
<div class="ttc" id="class_chess_set_html_a962966af3fdca97595dc5ac4c2aedb84"><div class="ttname"><a href="class_chess_set.html#a962966af3fdca97595dc5ac4c2aedb84">ChessSet::loadResources</a></div><div class="ttdeci">void loadResources()</div><div class="ttdoc">Loads all resources, builds the models and the chess board. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:85</div></div>
<div class="ttc" id="class_chess_set_html_a4dd58c5f99b21d1cb87954fd8496540c"><div class="ttname"><a href="class_chess_set.html#a4dd58c5f99b21d1cb87954fd8496540c">ChessSet::m_animationCapsules</a></div><div class="ttdeci">std::vector&lt; AnimationCapsule &gt; m_animationCapsules</div><div class="ttdoc">One or more turn animation capsules. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:178</div></div>
<div class="ttc" id="class_chess_set_html_ae2a6cb36b2d31c95a16c9d634671c373"><div class="ttname"><a href="class_chess_set.html#ae2a6cb36b2d31c95a16c9d634671c373">ChessSet::animateModelTurn</a></div><div class="ttdeci">void animateModelTurn()</div><div class="ttdoc">Animates the turn for the source and destination field. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:306</div></div>
<div class="ttc" id="class_chess_set_html_a31741f86db19210c051fea1e9724c007"><div class="ttname"><a href="class_chess_set.html#a31741f86db19210c051fea1e9724c007">ChessSet::m_animationElevationHeight</a></div><div class="ttdeci">float m_animationElevationHeight</div><div class="ttdoc">The maximum height to lift a model when animating. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:131</div></div>
<div class="ttc" id="class_chess_set_html_a7710de605153f7e61f490a5084ad1eb5"><div class="ttname"><a href="class_chess_set.html#a7710de605153f7e61f490a5084ad1eb5">ChessSet::createModelsList</a></div><div class="ttdeci">void createModelsList(bool withoutTurnDependentModels)</div><div class="ttdoc">Creates a OpenGL display list with all models at the positions as saved in the board state...</div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:255</div></div>
<div class="ttc" id="class_chess_set_html_a19081a283e108cf308fb52ee4d45b837"><div class="ttname"><a href="class_chess_set.html#a19081a283e108cf308fb52ee4d45b837">ChessSet::InternalState</a></div><div class="ttdeci">InternalState</div><div class="ttdoc">Internal states. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:125</div></div>
<div class="ttc" id="class_chess_set_html_a59f0ea31695088df31448c615b09638f"><div class="ttname"><a href="class_chess_set.html#a59f0ea31695088df31448c615b09638f">ChessSet::m_firstRun</a></div><div class="ttdeci">bool m_firstRun</div><div class="ttdoc">Flag to set if this is the first run. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:134</div></div>
<div class="ttc" id="class_chess_set_html_a72c30931c8d2cc471d7cc4059e9859d0"><div class="ttname"><a href="class_chess_set.html#a72c30931c8d2cc471d7cc4059e9859d0">ChessSet::m_modelsList</a></div><div class="ttdeci">GLuint m_modelsList</div><div class="ttdoc">OpenGL display list index to all 3D models and translation combined. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:165</div></div>
<div class="ttc" id="class_chess_set_html_a7b26c2f2145a62d34b1bf7b55fddeef0"><div class="ttname"><a href="class_chess_set.html#a7b26c2f2145a62d34b1bf7b55fddeef0">ChessSet::Elevation</a></div><div class="ttdeci">Elevation</div><div class="ttdoc">The elevation direction. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:184</div></div>
<div class="ttc" id="struct_chess_set_1_1_correction_value_html"><div class="ttname"><a href="struct_chess_set_1_1_correction_value.html">ChessSet::CorrectionValue</a></div><div class="ttdoc">Coordination-correction container to statically adjust unproper 3D models. </div><div class="ttdef"><b>Definition:</b> ChessSet.h:149</div></div>
<div class="ttc" id="class_chess_set_html_a6d0fcb6376e3e0f322e2974a343bf1a8"><div class="ttname"><a href="class_chess_set.html#a6d0fcb6376e3e0f322e2974a343bf1a8">ChessSet::draw</a></div><div class="ttdeci">void draw()</div><div class="ttdoc">Draws the whole ChessSet. </div><div class="ttdef"><b>Definition:</b> ChessSet.cpp:185</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Mar 9 2014 23:12:55 for 3dchess by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
